package student.aistar;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@MapperScan(basePackages = "student.aistar.mapper")
@EnableTransactionManagement //开启了事务管理器
@EnableScheduling // 开启任务调度器
//@ServletComponentScan // springboot中能够识别servlet注解,@WebServlet @WebFilter @WebListener
public class XiaomiApplication {

    public static void main(String[] args) {
        SpringApplication.run(XiaomiApplication.class, args);
    }

}
